package com.yanlin.apiboss.service;

import com.yanlin.apiboss.remote.ServiceDriverUserClient;
import com.yanlin.internalcommon.dto.DriverCarBindingRelationship;
import com.yanlin.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>标题：DriverCarBindingRelationship</p>
 * <p>功能：</p>
 * <p>
 * 其他说明：
 * </p>
 * <p>审核：</p>
 * <p>重构：</p>
 * <p>创建日期：2025-06-15 08:45</p>
 *
 * @author yanlin
 */
@Service
public class DriverCarBindingRelationshipService {

    @Autowired
    private ServiceDriverUserClient client;

    public ResponseResult bind(DriverCarBindingRelationship relationship) {
        return client.bind(relationship);
    }

    public ResponseResult unbind(DriverCarBindingRelationship relationship) {
        return client.unbind(relationship);
    }
}